const none = -1; //定义常量
const left = 0;
const center = 1;
const right = 2;

let View = function () {
    this.views = {
        // 默认相似度
        similarity : 95,
        // 默认偏移
        deviation : 0,
        __viewData__: {

            experience_up: {
                name: "经验怪",
                dataArr:[
                    {
                        desc: [1920,1080,
                            [
                            [center,1119,598,0x2d6d7e],
                            [center,1123,614,0x951e1f]
                            ]
                        ],
                        range: [0, 250, 1920, 950, center]

                    }
                ]
            },

            // 战斗界面退出
            back_2:{
                name : "退出",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [left,43,46,0x221c1f],
                            [left,44,35,0xdbb48b],
                            [left,68,36,0xdbb58e],
                            [left,65,58,0xd1aa7e],
                            [left,42,59,0xd0a77d],
                            [left,17,47,0x886644],
                            [left,90,53,0x83613f],
                            [left,51,19,0x221e22]
                            ]
                        ],
                        range:[0,0,140,109,left]
                    }
                ]
            },

            dharma_up:{
                name: "达摩怪",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,1114,604,0xfefeeb],
                            [center,1104,630,0xd82f25],
                            [center,1119,637,0xfdcb12]
                            ]
                        ],
                        range: [0, 250, 1920, 950, center]
                    }
                ]
            },

            gold_coins_up:{
                name: "金币怪",
                dataArr:[
                    {
                        desc: [1920,1080,
                            [
                            [left,284,585,0xd2c25f],
                            [left,273,590,0xbc9b47],
                            [left,303,606,0xf6a31c]
                            ]
                        ],
                        range: [0, 250, 1920, 950, center]
                    }
                ]
            },

            explore: {
                name: "探索按钮",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1417,809,0xf4b25f],
                            [center,1329,773,0x993333],
                            [center,1335,846,0x913c2b],
                            [right,1500,846,0x913c2b],
                            [right,1501,772,0x9c3636]
                            ]
                        ],
                        range: [1200 ,733,1537,871,center]
                    }
                ]
            },

            goldcoins_up: {
                name: "金币怪",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1583,644,0xd8c978],
                            [right,1595,678,0xd5c583],
                            [right,1634,660,0xe6d694],
                            [right,1614,681,0xfbc912],
                            [right,1625,686,0xf6e71e]
                            ]
                        ],
                        range: [0 ,280,1920,888,right]
                    }
                ]
            },

            locking: {
                name: "锁定阵容",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1525,1014,0x171514],
                            [right,1516,1014,0x664e34],
                            [right,1534,1015,0x66583c],
                            [right,1526,1007,0x72583f],
                            [right,1526,993,0x987d55],
                            [right,1508,1009,0x2b1f19]
                            ]
                        ],
                        range: [1440 ,950,1857,1059,right]
                    }
                ]
            },
            
            // 探索界面返回
            back_1: {
                name: "返回1",
                dataArr: [
                    {
                        desc:[1920,1080,
                            [
                            [left,58,95,0xeff5fb],
                            [left,73,76,0xf1f1ff],
                            [left,99,92,0x324a7c],
                            [left,72,112,0xe9f2fa],
                            [left,32,95,0x230d4f]
                            ]
                        ],
                        range: [0,26,180,162,left]
                    }
                ],
            },
            
            // 确认 
            ok: {
                name: "确认",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,1163,609,0xf4b25f],
                            [center,1126,605,0x2c2721],
                            [center,1147,605,0x3b3226],
                            [center,1156,607,0x2b2721],
                            [center,1175,602,0x292621],
                            [center,1189,606,0x352d24],
                            [center,1211,603,0xf4b25f]
                            ]
                        ],
                        range: [1076,552,1292,659,center]
                    }
                ],
            },

            cancel: {
                name: "取消",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,751,600,0xf4b25f],
                            [center,713,613,0x2d2822],
                            [center,724,609,0x2f2a22],
                            [center,737,607,0x282520],
                            [center,775,606,0x3b3226],
                            [center,790,605,0x352e24],
                            [center,801,601,0xf4b25f]
                            ]
                        ],
                        range: [617,550,873,663,center]

                    }
                ],
            },
            box: {
                name: "宝箱",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1221,690,0xb1451f],
                            [center,1203,678,0xfff5d3],
                            [center,1202,699,0xfff5d3],
                            [center,1239,700,0xfff5d3],
                            [center,1238,677,0xfff5d3]
                            ]
                        ],
                        range: [0 ,180,1920,880,center]
                    }
                ]
            },
            coor_1: {
                name: "章节滑动坐标",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1828,858,0x45322c],
                            [right,1635,853,0x45322c],
                            [right,1582,836,0x72511f]
                            ]
                        ],
                        range: [1532,786,1878,908,right]
                    }
                ]
            },
            chapter_28: {
                name: "第二十八章",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1728,855,0xa19a8b],
                            [right,1685,847,0xcec8b7],
                            [right,1679,867,0xe0dac8],
                            [right,1696,865,0xf8f3e0],
                            [right,1753,859,0xddd8c6],
                            [right,1767,848,0xf7f2df],
                            [right,1779,861,0xf3eedb],
                            [right,1765,871,0x45322c],
                            [right,1684,857,0x45322c],
                            [right,1713,843,0x45322c]
                            ]
                        ],
                        range: [1555,271,1895,1000,right]
                    }
                ]
            },
            chapter_five: {
                name: "第五章",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1719,857,0xf7f2df],
                            [right,1720,843,0xf8f3e0],
                            [right,1729,842,0xf8f3e0],
                            [right,1712,871,0xf8f3e0],
                            [right,1738,869,0xf8f3e0],
                            [right,1724,862,0x22180f]
                            ]
                        ],
                        range: [1555,271,1895,1000,right]
    
                    }
                ]
            },
            boss: { 
                name: "Boss",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,951,338,0xd8c9c1],
                            [center,926,323,0xd8a662],
                            [center,964,355,0x99603f],
                            [center,935,351,0xd7ccbb],
                            [center,960,326,0xf6e8d8]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    },
                    {
                        desc:[1920,1080,
                            [
                            [center,720,294,0xe0cdc6],
                            [center,676,299,0x486293],
                            [center,717,277,0x49385a],
                            [center,746,295,0x3c2517]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    }
                ]
            },
            
            auto_matching: {
                name: "自动匹配",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,1181,939,0xf4b25f],
                            [center,1164,934,0x322c23],
                            [center,1155,956,0x292520],
                            [center,1170,955,0x2d2822],
                            [center,1175,935,0x292621],
                            [center,1192,931,0x312b23],
                            [center,1190,954,0x2b2721]
                            ]
                        ],
                        range: [1105,881,1242,1006,center]
                    }
                ]
            },

            tansuo_yuhun:{
                name: "探索_御魂",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [left,301,970,0xc69b1f],
                            [left,276,1002,0xdb2e2e],
                            [left,324,1017,0xe32d2d],
                            [left,306,960,0xffffc1]
                            ]
                        ],
                        range: [226,910,374,1067,left]
                    }
                ]
            },

            yuhun_baqisnake:{
                name: "御魂_八岐大蛇",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [left,301,290,0xb29178],
                            [left,416,418,0xc9b5c9],
                            [left,237,418,0x4d4865],
                            [left,316,565,0x020206],
                            [left,279,471,0x57526b]
                            ]
                        ],
                        range: [187,240,466,615,left]
                    }
                ]
            },

            refuse: {
                name : "拒绝",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [left,208,391,0x58b361],
                            [left,183,378,0x58b361],
                            [left,231,373,0x62bc6a],
                            [left,209,360,0x85705c],
                            [left,215,419,0x846e5b]
                            ]
                        ],
                        range: [133,310,281,469,left]
                    }
                ]
            },

            
            
            team_challenge:{
                name: "组队挑战",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1830,959,0xebd37d],
                            [right,1806,981,0x37271f],
                            [right,1854,938,0x453424],
                            [right,1813,1039,0xfa7c31],
                            [right,1865,933,0x301f0f],
                            [center,1337,511,0xddcc9b]
                            ]
                        ],
                        range: [1287,461,center,1915,1079,right]
                    },
                    {
                        desc:[1920,1080,
                            [
                            [right,1837,959,0xebd37d],
                            [right,1812,984,0x37291c],
                            [right,1814,926,0xe6d18f],
                            [right,1881,987,0x442211],
                            [right,1814,1038,0xff8b36],
                            [right,1800,985,0x302017]
                            ]
                        ],
                        range: [1750,876,1919,1079,right]
                    },
                    {
                        desc:[1920,1080,
                            [
                            [right,1840,963,0xeecc77],
                            [right,1821,932,0x6f2b09],
                            [right,1868,943,0x443323],
                            [right,1803,989,0x2c2313],
                            [right,1843,998,0xe6c56d]
                            ]
                        ],
                        range: [1753,882,1918,1048,right]
                    }
                ]
            },

            define:{
                name: "确定",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,1138,644,0xf4b25f],
                            [center,1118,634,0x292621],
                            [center,1113,659,0x3d3327],
                            [center,1131,661,0x282520],
                            [center,1131,644,0x282520],
                            [center,1148,658,0x292621],
                            [center,1159,643,0x2d2822],
                            [center,1171,634,0x2d2822],
                            [center,1178,622,0xf4b25f],
                            [center,1084,643,0xf4b25f]
                            ]
                        ],
                        range:[1034,572,1228,711,center]
                    }
                ]
            },

            invitation_button: {
                name: "邀请+号",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,963,381,0xffffff],
                            [center,964,349,0xfffffa],
                            [center,932,381,0xfffffa],
                            [center,998,381,0xfffffc],
                            [center,965,410,0xfffffe]
                            ]
                        ],
                        range: [750,180,1800, 663,center]
                    },
                ]
            },

            default_invitation:{
                name: "默认邀请",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,839,541,0x715e4f],
                            [center,838,502,0xcbb59e],
                            [center,803,537,0xcbb59e],
                            [center,835,573,0xcbb59e],
                            [center,841,621,0xdf6851],
                            [center,716,622,0xdf6851]
                            ]
                        ],
                        range: [666,452,891,672,center]
                    }
                ]
            },
            
            agree: {
                name : "同意",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [left,208,391,0x58b361],
                            [left,183,378,0x58b361],
                            [left,231,373,0x62bc6a],
                            [left,209,360,0x85705c],
                            [left,215,419,0x846e5b]
                            ]
                        ],
                        range: [133,310,281,469,left]
                    },
                    {
                        desc:[1920,1080,
                            [
                            [left,352,374,0xefc893],
                            [left,364,408,0x57b25f],
                            [left,383,393,0x60ba68],
                            [left,322,379,0xe7c390],
                            [left,393,380,0x856f5c]
                            ]
                        ],
                        range: [272,324,443,458,left]
                    }
                ]

            },

            chanlenge:{
                name : "挑战",
                dataArr:[
                    {
                        desc: [1920,1080,
                            [
                            [right,1710,980,0xf55329],
                            [right,1738,968,0xe0d7bf],
                            [right,1731,959,0x282521],
                            [right,1702,952,0xe5dcc4]
                            ]
                        ],
                        range:[1652,902,1788,1030,right]
                    }
                ]
            },
            
            reganize_team: {
                name: "组队按钮",
                dataArr:[
                    {
                        desc: [1920,1080,
                            [
                                [center,552,938,0xe1deda],
                                [center,519,956,0x6d3b9e],
                                [center,591,960,0x8642b9],
                                [center,555,996,0xe4dfd5],
                                [center,552,898,0xe46745]
                            ]
                        ],
                        range: [469,848,641,1046,center]
                    }
                ]
            },
            
            explore_lantern: {
                // 1920 1080 is ok
                name: "探索灯笼",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,921,213,0x100c03],
                            [center,920,222,0x150f04],
                            [center,907,225,0x140e03],
                            [center,937,219,0x130d03],
                            [center,917,230,0x1a1304],
                            [center,922,250,0x271c06],
                            [center,934,243,0x221807],
                            [center,911,245,0x201705]
                            ]
                        ],
                        range: [0 ,158,1920,360,center]
                    }
                ]
            },
            get_rewards: {
                name: "获得奖励",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,954,395,0x473626],
                            [center,920,340,0xf5ebc0],
                            [center,923,378,0xd7bb77],
                            [center,1011,359,0xeadaa3],
                            [center,974,367,0xe5d59b],
                            [center,1001,374,0xd9c586]
                            ]
                        ],
                        range: [870,290,1061,445,center]
                    }
                ]
            },
            see_monster: {
                name: "妖怪发现",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1417,809,0xf4b25f],
                            [center,1329,773,0x993333],
                            [center,1335,846,0x913c2b],
                            [right,1500,846,0x913c2b],
                            [right,1501,772,0x9c3636]
                            ]
                        ],
                        range: [1582 ,530,1700,727,right]
                    }
                ]
            },
            three_points: {
                name: "三个点",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1316,281,0xf9e9e9],
                            [center,1282,283,0xf9e9e9],
                            [center,1348,282,0xf9e9e9]
                            ]
                        ],
                        range: [1,180,1920,800,center]

                    },

                    {
                        desc: [1920,1080,
                            [
                                [center,1147,322,0xf7e6e6],
                                [center,1179,329,0xf9e8e8],
                                [center,1176,326,0xefdede]
                            ]
                        ],
                        range: [1,180,1920,800,center]


                    }
                ]
            },

            skip: {
                name: "跳过",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1265,806,0x6247e3],
                            [center,1289,786,0x5955c5],
                            [center,1304,821,0xf0ebd8],
                            [center,1343,822,0xf8f3e0],
                            [center,1342,799,0xebe6d4]
                            ]
                        ],
                        range: [800 ,760,1445,855,center]
                    }
                ]
            },
            
            
            
            character: {
                name: "人物解锁",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1816,79,0x33444c],
                            [right,1780,23,0x33444c],
                            [right,1889,162,0x425a5a],
                            [right,1672,65,0x2b3b44],
                            [right,1697,143,0x405259]
                            ]
                        ],
                        range: [1180 ,0,1920,265,right]
                    }
                ]
            },

            attack: {
                name: "小怪",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,1312,53,0xf7f7ff],
                            [center,1280,56,0x28180f],
                            [center,1346,58,0xbb6668],
                            [center,1307,31,0x392116],
                            [center,1327,73,0x202657]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    },
                    {
                        desc: [1920,1080,
                            [
                            [right,1897,451,0xd5d5f7],
                            [right,1886,440,0x3c487a],
                            [right,1862,428,0x8f672e],
                            [right,1863,451,0x2f1d15]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    }
                ]
            },

            

            right_coor: {
                name: "右上角",
                dataArr: [
                    {
                        desc:[1920,1080,
                            [
                            [center,694,223,0x998776],
                            [center,675,223,0x9d8978],
                            [center,672,223,0xd0bead],
                            [center,665,223,0xac8a79],
                            [center,655,223,0xd4c2b1],
                            [center,676,256,0xdacebc]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    },
                    
                    {
                        desc:[1920,1080,
                            [
                            [center,1192,629,0xa08e7d],
                            [center,1176,629,0xb49585],
                            [center,1165,629,0xb49585],
                            [center,1154,629,0xd4c2b2],
                            [center,1158,646,0xdacebc],
                            [center,1173,671,0xdacebc],
                            [center,1134,667,0xdacebc]
                            ]
                        ],
                        range: [0,0,1920,1080,center]

                    }
                ]
            },
            
            jingong: {
                name: "进攻",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,1079,584,0xf4b25f],
                            [center,1052,582,0x292621],
                            [center,1104,591,0x272420],
                            [center,1102,583,0xf4b25f]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    }
                ]
            },
            
            shuaxin: {
                name: "刷新",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [right,1574,902,0xf4b25f],
                            [right,1547,897,0x3b3226],
                            [right,1567,892,0x2b2721],
                            [right,1590,902,0x362f25],
                            [right,1575,919,0xf4b25f]
                            ]
                        ],
                        range: [1497,842,1640,969, right]
                    }
                ]
            },
            
            border_breach: {
                name: "个人突破",
                dataArr:[
                    {
                        desc: [1920,1080,
                            [
                            [left,457,990,0xac6a20],
                            [left,439,1017,0xa52929],
                            [center,488,1019,0x8d745c]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                    },
                    {
                        desc:[1920,1080,
                            [
                            [left,473,995,0xa6631b],
                            [left,479,970,0xe0cfbe],
                            [center,488,983,0x680f0f],
                            [left,438,990,0x949494],
                            [left,473,1010,0x8d745c]
                            ]
                        ],
                        range: [0,0,1920,1080,center]
                        
                    }
                ]
            },

            prepare: {
                name: "准备",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1765,874,0xf7e6c2],
                            [right,1731,868,0x5b1611],
                            [right,1731,903,0x9c4725],
                            [right,1796,900,0x993f22],
                            [right,1794,873,0x621b15],
                            [right,1820,873,0xeed5ac],
                            [right,1771,926,0xf3e1b9]
                            ]
                        ],
                        range: [1600,770,1890,1010,right]
                    }
                ]
            },

            manual: {
                name: "手动",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [left,86,986,0x6a341e],
                            [left,86,967,0x231c18],
                            [left,93,951,0x332822],
                            [left,82,931,0x624f45],
                            [left,68,1005,0xf0caac],
                            [left,68,992,0xf0caac],
                            [left,67,984,0xeac4a6],
                            [left,80,991,0xe6bea1]
                            ]
                        ],
                        range: [0,900,200,1080,right]
                    }
                ]
            },
            
            accelerate: {
                name: "加速",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                                [left,216,938,0xeec9ab],
                                [left,216,950,0xe1bc9f],
                                [left,216,957,0xf1cbad]
                            ]
                        ],
                        range: [100,880,250,1040,left]
                    }
                ]
            },
            
            victory: {
                name: "胜利",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,719,279,0xccbbaa],
                            [center,719,237,0x821a10],
                            [center,692,294,0x911a10],
                            [center,756,296,0x901a10],
                            [center,723,329,0xd6c8b0],
                            [center,667,263,0xc7b7a2]
                            ]
                        ],
                        range: [550 ,150,870,420,center]
                    }
                ]
            },

            fail: {
                name: "失败",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [center,706,264,0xb7a78e],
                            [center,706,236,0x4e4556],
                            [center,678,282,0x595062],
                            [center,745,282,0x5b5165],
                            [center,671,310,0x27100b]
                            ]
                        ],
                        range: [621,186,795,360,center]
                    }
                ]
            },
            
            question_mark:{
                name: "问号",
                dataArr:[
                    {
                        desc:[1920,1080,
                            [
                            [right,1729,362,0xffeedd],
                            [right,1712,335,0xffeedd],
                            [right,1727,394,0xffeedd],
                            [right,1703,377,0x10100c],
                            [right,1765,375,0x10100c],
                            [right,1726,328,0xffeedd]
                            ]
                        ],
                        range: [0,100,1920,800,center]
                        
                    }
                ]
            },

            battle_end: {
                name: "战斗结束",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,953,821,0x190808],
                            [center,920,782,0xba4618],
                            [center,943,864,0x0e0000],
                            [center,1006,821,0xbb8939],
                            [center,902,824,0x241313]
                            ]
                        ],
                        range: [700,580,1188,950,center]
                    }
                ]
            },
            
            fast_forward: {
                name: "快进",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1746,88,0xd3ae85],
                            [right,1744,67,0x352231],
                            [right,1745,107,0x342332],
                            [right,1726,85,0xcd9c79],
                            [right,1791,87,0x2b202d]
                            ]
                        ],
                        range: [1650,0,1840,150,right]
                    }
                ]
            },
            
            open_eyes: {
                name: "开眼",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [center,901,256,0xfefefe],
                            [center,832,263,0x413840],
                            [center,808,264,0xe5c40f],
                            [center,967,268,0x433a43],
                            [center,993,266,0xd29a0e]
                            ]
                        ],
                        range: [0,100,1920,800,center]
                    }
                ]
            },
            
            

            understand: {
                name: "领悟技能",
                dataArr: [
                    {
                        desc:[1920,1080,
                            [
                            [center,628,687,0x654828],
                            [center,591,499,0xb5a6a4],
                            [center,631,456,0x624525],
                            [center,630,390,0x38281c],
                            [center,569,389,0x5b3c21]
                            ]
                        ],
                        range: [0,100,1920,800,center]
                    }
                ],
            },
            
            pink_close: {
                name: "粉红关闭",
                dataArr: [
                    {
                        desc: [1920,1080,
                            [
                            [right,1753,141,0xeecccc],
                            [right,1739,126,0xeecccc],
                            [right,1769,157,0xeecccc],
                            [right,1747,153,0xe7d4cf],
                            [right,1774,126,0xeecccc]
                            ]
                        ],
                        range: [0,100,1920,800,center]
                        
                    }
                ]
            }
        }
    }
}

module.exports = View


